let a = [{name:"1"},{name:"2"},{name:"12"},{name:"3"},]
a.forEach(item=>{
    item.name = "77"
})
console.log(a)